package com.cn.design.factory.simple.static1;


import com.cn.design.factory.simple.Phone;

/**
 * @author xuhui
 * @Description:
 * @date 2022-06-29 18:58
 **/
public class Client1 {

    public static void main(String[] args) {
        // 2.工厂创建，无需关注细节
        Phone miPhone = PhoneFactory1.getMiPhone();
        Phone iPhone =  PhoneFactory1.getIPhone();
    }
}
